home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
scoobycastillotenebroso.swf
/
scripts
/
DefineButton2_1860
/
BUTTONCONDACTION on(release, releaseOutside).as
< prev
Wrap
Text File
|
2007-10-01
|
464b
|
19 lines
on(release, releaseOutside){
if(this.hitTest(_root.environnement2.armor.hit_mace))
{
this.swapDepths(_parent.swap);
_root.environnement2.armor.gotoAndPlay("knock");
stopDrag();
set("_root.controler:drag_this",false);
this._visible = false;
}
else
{
this.swapDepths(_parent.swap);
stopDrag();
set("_root.controler:drag_this",false);
this._x = 1.9;
this._y = -0.15;
}
}